// 引入公共样式
@import './common.scss';

// ---我的页面样式设置---
header {
  nav {
    button {
      font-size: 0.3467rem;
    }
    h4 {
      flex-shrink: 0;
      font-size: 0.4rem;
      margin: 0 auto;
    }
    i.email {
      position: relative;
      color: #ff9344;
      font-size: 0.5867rem;
      span {
        color: #fff;
        width: 0.3733rem;
        height: 0.3733rem;
        border-radius: 50%;
        font-size: 0.2667rem;
        text-align: center;
        line-height: vw(28);
        background-color: #fa5050;
        position: absolute;
        right: 0%;
        top: -20%;
      }
    }
  }
}

// 主体内容
main {
  // 登录
  .my_load {
    margin: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    img {
      width: 2.2667rem;
    }
    .middle {
      p {
        margin-left: -50%;
        margin-bottom: 20%;
      }

      p:first-of-type {
        font-size: vw(30);
      }
      p:last-of-type {
        color: #999;
        font-size: vw(26);
      }
    }

    .right {
      i {
        font-size: 1.16rem;
      }
    }
  }
  // 我的附录
  .my_adding {
    display: flex;
    justify-content: space-around;
    div {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      width: vw(195);
      height: vw(151);
      background-color: #a0dce0;
      font-size: 0.3467rem;

      i {
        color: #fff;
        font-size: 1.0667rem;
      }

      &:first-of-type {
        background-color: #b2e0a0;
      }

      &:last-of-type {
        background-color: #e0b7a0;
      }
    }
  }

  // 我的钱包
  .money,
  .comment,
  .friend,
  .foot,
  .setting,
  .connect {
    margin-right: 0.1333rem;
    margin-left: 0.1333rem;
    margin-top: 0.4267rem;
    margin-bottom: 0.32rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    .left {
      i {
        margin-right: 0.5067rem;
        vertical-align: middle;
        color: #ff9344;
        font-size: 0.9867rem;
      }

      span {
        font-size: 0.3467rem;
      }
    }

    .right {
      span {
        font-size: 0.32rem;
      }
      i {
        margin-left: 0.1067rem;
        color: #ff9344;
        font-size: 0.32rem;
      }
    }
  }

  .friend {
    .left {
      i {
        margin-right: 0.2667rem;
        font-size: 0.7733rem;
        color: #b2e0a0;
      }
    }
  }

  .foot {
    margin-bottom: 1.0667rem;
    .left {
      i {
        color: #b8e4e7;
      }
    }
  }

  .connect {
    .left {
      i {
        font-size: 0.7867rem;
      }
    }
  }

  .operate {
    display: flex;
    justify-content: space-around;
    button {
      width: 1.96rem;
      height: 1.0133rem;
      font-size: 0.3067rem;
      background-color: #ff9344;
      border: none;
      border-radius: 1.0133rem;
      color: #fff;
    }
  }
}

footer {
  ul {
    li {
      a {
        i.icon-wode {
          color: red;
        }
      }
    }
  }
}
